package business.report.impl;

import business.report.TaxiOperationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import report.domain.TaxiOperation;
import report.domain.TaxiOperationCriteria;
import report.mapper.TaxiOperationMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/19.
 */
@Service(value = "taxiOperationService")
public class TaxiOperationServiceImpl implements TaxiOperationService{
    @Autowired
    TaxiOperationMapper taxiOperationMapper;

    @Override
    public List<TaxiOperation> getTaxiOperation() {
        TaxiOperationCriteria criteria = new TaxiOperationCriteria();
        criteria.createCriteria().getAllCriteria();
        return taxiOperationMapper.selectByExample(criteria);
    }
}
